package com.jeanbart.bean;

import lombok.Data;

import java.io.Serializable;


@Data
public class Player implements Serializable {
    private String AccountName = ""; //昵称
    private String ShipId = "";  //船id
    private String Count = "";  //场次
    private String WinCount = "";  //胜利场次
    private double Rate = -2;  //总胜率
    private String Uid = "";   //唯一UID
    private String ShipName = "";
    private String ShipCount = "";
    private String ShipWinCount = "";
    private double ShipRate = -1;
    private int step = 1;
    private int team=1;
    public Player setUid(String Uid){
        this.Uid=Uid;
        return this;
    }
    public void Update(Player player){
        this.Count = player.getCount();
        this.Rate = player.getRate();
    }
}
